<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath %>" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>登录</title>
	<link href="css/login.css" rel="stylesheet">
	<jsp:include page="./common/include.jsp"></jsp:include>

    <script>
        $(function(){
            var form = $(".login-form");
        });
    </script>
</head>
<body>
    <%@include file="./common/header.jsp" %>
    <div class="login-form" >
        <form action="login.do" method="post">
            <h1>欢迎登录</h1>
            <hr class="thin"/>
            <br />
            <div class="input-control text full-size" data-role="input">
                <label for="user_login">用户名：</label>
                <input type="text" name="user.name" id="user_login">
                <button class="button helper-button clear"><span class="mif-cross"></span></button>
            </div>
            <br />
            <br />
            <div class="input-control password full-size" data-role="input">
                <label for="user_password">密码：</label>
                <input type="password" name="user.password" id="user_password">
                <button class="button helper-button reveal"><span class="mif-looks"></span></button>
            </div>
            <br />
            <br />
            <div class="form-actions">
                <button type="submit" class="button primary">登录...</button>
                <button type="button" class="button link">取消</button>
            </div>
        </form>
    </div>
	<%@include file="./common/footer.jsp" %>
</body>
</html>